package com.mtons.mblog.modules.rabbitmq;

import java.io.Serializable;

/**
 * @ClassName: FollowMqMessage
 * @Auther: Jerry
 * @Date: 2020/5/22 14:07
 * @Desctiption: TODO
 * @Version: 1.0
 */
public class FollowMqMessage implements Serializable {
    private static final long serialVersionUID = -7319576700066682109L;

    /**
     * 消息生产者Id
     */
    private long fromUserId;

    /**
     * 被关注者的id:
     */
    private long followId;

    /**
     * 消息类型
     */
    private int event;

    public long getFromUserId() {
        return fromUserId;
    }

    public void setFromUserId(long fromUserId) {
        this.fromUserId = fromUserId;
    }

    public long getFollowId() {
        return followId;
    }

    public void setFollowId(long followId) {
        this.followId = followId;
    }

    public int getEvent() {
        return event;
    }

    public void setEvent(int event) {
        this.event = event;
    }

    public FollowMqMessage() {
    }

    public FollowMqMessage(long fromUserId, long followId, int event) {
        this.fromUserId = fromUserId;
        this.followId = followId;
        this.event = event;
    }

}
